package com.blue.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xiaoyiming
 * @date 2020/5/5 16:04
 * @depiction
 */
@Data
@Component
@ConfigurationProperties(prefix = "pay-gateway-log")
public class GatewayLogConfig {
    //显示以下所有日志
    private boolean showAllLog = false;
    //api入口出口日志
    private boolean showClientLog = true;
    //支付配置日志
    private boolean showConfigLog = false;
    //请求参数日志
    private boolean showRequestParamsLog = false;
    //执行结果日志
    private boolean showExecuteResultLog = false;

}
